package com.ksd.orm.pug.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ksd.pug.pojo.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * @author hcl
 * @date 2022/1/2 12:42
 */
public interface ArticleMapper extends BaseMapper<Article> {

    /**
     * 统计用户创作文章
     * @return
     */
    List<Map<String, Object>> countUserCraetion(@Param("userId") Long userId);
}
